*Create replication data from main data file used by Marcus and Darrel

cd "C:\Dropbox\Stats\My docs\Studier\Demokratiattityder, Darrel\Data" //work

use "full_IVS_varcod_MO.dta", clear

*drop unneeded variables and data
drop if reform_id=="Poland_1999"
keep age age_calc yrbrn reform reform_id reform_id_num reform_years auth_reform ///
wave wave_evs  wave_wvs female demo_eds_ind demo_function_ind_1missing demo_satisfied  edu_agefin30  student retired  ///
pol_interest_ind inststrust_5ind pol_part_ind  cntry_cohort cntry


save "Replication\Replication_data_EducatingDemo.dta", replace
